﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace FCP.Data.Migrations
{
    public partial class edit_field_vir_ingore_by_id : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "vir_prompt_info_label",
                table: "t_edit_field");

            migrationBuilder.DropColumn(
                name: "vir_verify_error_label",
                table: "t_edit_field");

            migrationBuilder.AddColumn<string>(
                name: "prompt_info_label_id",
                table: "t_edit_field",
                type: "character varying(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "verify_error_label_id",
                table: "t_edit_field",
                type: "character varying(50)",
                maxLength: 50,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "prompt_info_label_id",
                table: "t_edit_field");

            migrationBuilder.DropColumn(
                name: "verify_error_label_id",
                table: "t_edit_field");

            migrationBuilder.AddColumn<string>(
                name: "vir_prompt_info_label",
                table: "t_edit_field",
                type: "character varying(600)",
                maxLength: 600,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "vir_verify_error_label",
                table: "t_edit_field",
                type: "character varying(600)",
                maxLength: 600,
                nullable: true);
        }
    }
}
